package org.breathe.aof.writer;

import io.netty.buffer.ByteBuf;

import java.io.IOException;
import java.nio.ByteBuffer;

/**
 * @author: breathe
 * @createTime: 2025-05-16
 */
public interface Writer {
    int write(ByteBuffer byteBuffer) throws IOException;
    void flush() throws IOException;
    void close() throws IOException;
}
